﻿namespace Chain.Model
{
    using System;

    [Serializable]
    public class Coupon
    {
        private string _couponcontent;
        private int _coupondaynum;
        private int _couponeffective;
        private DateTime? _couponend;
        private decimal _couponminmoney;
        private decimal _couponnumber;
        private int _couponpredictnu;
        private DateTime? _couponstart;
        private int _CouponSY;
        private string _coupontitle;
        private int _coupontype;
        private int _CouponYF;
        private int _id;

        public string CouponContent
        {
            get
            {
                return this._couponcontent;
            }
            set
            {
                this._couponcontent = value;
            }
        }

        public int CouponDayNum
        {
            get
            {
                return this._coupondaynum;
            }
            set
            {
                this._coupondaynum = value;
            }
        }

        public int CouponEffective
        {
            get
            {
                return this._couponeffective;
            }
            set
            {
                this._couponeffective = value;
            }
        }

        public DateTime? CouponEnd
        {
            get
            {
                return this._couponend;
            }
            set
            {
                this._couponend = value;
            }
        }

        public decimal CouponMinMoney
        {
            get
            {
                return this._couponminmoney;
            }
            set
            {
                this._couponminmoney = value;
            }
        }

        public decimal CouponNumber
        {
            get
            {
                return this._couponnumber;
            }
            set
            {
                this._couponnumber = value;
            }
        }

        public int CouponPredictNu
        {
            get
            {
                return this._couponpredictnu;
            }
            set
            {
                this._couponpredictnu = value;
            }
        }

        public DateTime? CouponStart
        {
            get
            {
                return this._couponstart;
            }
            set
            {
                this._couponstart = value;
            }
        }

        public int CouponSY
        {
            get
            {
                return this._CouponSY;
            }
            set
            {
                this._CouponSY = value;
            }
        }

        public string CouponTitle
        {
            get
            {
                return this._coupontitle;
            }
            set
            {
                this._coupontitle = value;
            }
        }

        public int CouponType
        {
            get
            {
                return this._coupontype;
            }
            set
            {
                this._coupontype = value;
            }
        }

        public int CouponYF
        {
            get
            {
                return this._CouponYF;
            }
            set
            {
                this._CouponYF = value;
            }
        }

        public int ID
        {
            get
            {
                return this._id;
            }
            set
            {
                this._id = value;
            }
        }
    }
}

